﻿class Program
{
    static void Main(string[] args)
    {
        int i;
        float m = 100,n=100;
        for(i=1;i<=10;i++)
        {
            if (i <= 1)
            {
                m = m / 2;
                n = 100;
            }
            else
            { 
                n = n + m * 2;
                m = m / 2;
            }
        }
        Console.WriteLine("下落第十次时，共经过"+n+"米");
        Console.WriteLine("第十次反弹"+m+"米");
        Console.ReadLine();
    }
}